<template>
  <view class="smt-index">
    <!-- 列表组件 -->
    <scroll-view :scroll-y="true" class="smt-index-list border-box">
      <list-item></list-item>
      <list-item></list-item>
      <list-item></list-item>
      <list-item></list-item>
    </scroll-view>
    <pub-fab></pub-fab>
  </view>
</template>

<script>
import ListItem from "./components/list-item";

export default {
  components: {
    ListItem,
  },
  data() {
    return {
      title: "Hello uni-app",
    };
  },
};
</script>

<style lang="scss" scoped>
.smt-index {
  &-list {
    padding: 0 30rpx;
  }
}
</style>
